package com.codejam.consumer1;

import com.codejam.springboot1.service.interfaces.ITest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class TempClass {

    @Resource
    private ITest test1;


    public String aaa(){
        String s = test1.test1();
        return s;
    }
}
